<html>
    <head>
        <script type='text/javascript'>
            function doSomething()
            {
                document.getElementById('myDiv').innerText = 'Goodbye';
                return "done";
            }
        </script>
    </head>
    <body>
        <div id='myDiv'>Hello</div>
    </body>
</html>
